import request from '@/common/request.js'

// 获取用户详情
const detail = (data) => {
	return request({
		url: "/user/detail",
		method: "GET",
		data
	})
}

//用户歌单
const playlist = (data) => {
	return request({
		url: "/user/playlist",
		method: "GET",
		data
	})
}

//获取用户播放记录
const record = (data) => {
	return request({
		url: "/user/record",
		method: "GET",
		data
	})
}


export {
	detail,
	playlist,
	record
}